/**
 * output package name
 */
package com.kingdee.eas.basedata.person;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class PersonStates extends IntEnum
{
    public static final int ENABLE_VALUE = 0;
    public static final int DISABLE_VALUE = 1;

    public static final PersonStates Enable = new PersonStates("Enable", ENABLE_VALUE);
    public static final PersonStates Disable = new PersonStates("Disable", DISABLE_VALUE);

    /**
     * construct function
     * @param integer personStates
     */
    private PersonStates(String name, int personStates)
    {
        super(name, personStates);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static PersonStates getEnum(String personStates)
    {
        return (PersonStates)getEnum(PersonStates.class, personStates);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static PersonStates getEnum(int personStates)
    {
        return (PersonStates)getEnum(PersonStates.class, personStates);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(PersonStates.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(PersonStates.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(PersonStates.class);
    }
}